<template>
  <div>
    <el-table :data="datalist" style="width: 100%; height: 200px">
      <el-table-column prop="name" label="姓名" width="width">
      </el-table-column>
      <el-table-column
        prop="phone.phone"
        label="用户电话"
        width="width"
        align="center"
      >
      </el-table-column>
      <el-table-column
        prop="coursename"
        label="所报课程名称"
        width="width"
        align="center"
      >
      </el-table-column>
      <el-table-column
        prop="date"
        label="订单时间"
        width="width"
        align="center"
      >
      </el-table-column>
      <el-table-column
        prop="money"
        label="订单金额（元）"
        width="width"
        align="center"
      >
      </el-table-column>
      <el-table-column prop="order" label="订单号" width="width" align="center">
      </el-table-column>
       <el-table-column prop="order" label="操作" width="width" align="center">
         <template slot-scope="">
           <el-button type="primary" @click="back">返回订单管理页</el-button>
         </template>
      </el-table-column>
    </el-table>
  
  </div>
</template>

<script>
export default {
  data() {
    return {
      datalist: [],

      
    };
  },
  mounted() {
    this.datalist.push(this.$route.params);
    this.ruleForm =  {...this.$route.params}
  },
  methods:{
    back(){
      window.location.href = '/#/OrderGoods/order'
      this.$parent.show = true
    }
  }
};
</script>

<style>
</style>